.com
Hosted by:
Unit testing expertise at your fingertips!
Home | Discuss | Lists

Result Verification Patterns

Recent Changes

State Verification Category: Result Verification Patterns 18 February 2007
We inspect the state of the SUT after it has been exercised and compare it to the expected state.
Delta Assertion Category: Result Verification Patterns 18 February 2007
We specify assertions based on differences between the pre- and post-exercise state of the SUT.
Behavior Verification Category: Result Verification Patterns 6 November 2006
We capture the indirect outputs of the SUT as they occur and compare them to the expected behavior.
Custom Assertion Category: Result Verification Patterns 31 October 2006
Create a purpose-built Assertion Method that compares only those attributes of the object that define test-specific equality.
Guard Assertion Category: Result Verification Patterns 24 October 2006
Replace an if statement in a test with an assertion that fails the test if not satisfied.
Unfinished Test Assertion Category: Result Verification Patterns 9 May 2004
We ensure that incomplete tests fail by executing an assertion that is guaranteed to fail.

Page generated at Wed Feb 09 16:39:55 +1100 2011

Copyright © 2003-2008 Gerard Meszaros all rights reserved

All Categories
Introductory Narratives
Web Site Instructions
Code Refactorings
Cross References & Lists
Database Patterns
DfT Patterns
External Patterns
Fixture Setup Patterns
Fixture Teardown Patterns
Front Matter
Glossary
Misc
References
Result Verification Patterns
Sidebars
Terminology
Test Double Patterns
Test Organization
Test Refactorings
Test Smells
Test Strategy
Tools
Value Patterns
XUnit Basics
xUnit Members
All "Result Verification Patterns"
State Verification
Behavior Verification
Custom Assertion
Delta Assertion
Guard Assertion
Unfinished Test Assertion